/*
 * Copyright (C) 2011, EADS France
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package xowl.gmi.view.diagram;

/**
 *
 * @author Laurent WOUTERS
 */
public class DiagramStyle {
    public java.awt.Color diagramBackground;
    public java.awt.Color diagramEditorVeil;
    
    public java.awt.Color dropColor;
    
    public java.awt.Color shapeBackgroundColor;
    public java.awt.Color shapeBorderColor;
    public int shapeBorderThickness;
    
    public java.awt.Color connectorColor;
    public int connectorThickness;
    
    public int selectablePadSize;
    public java.awt.Color selectableHoverColor;
    public java.awt.Color selectableSelectedColor;
    
    public java.awt.Color editableHoverColor;
    public java.awt.Color editableEditionColor;
    public java.awt.Color editableErrorColor;
    
    public int portSize;
    public java.awt.Color portColor;
    public java.awt.Color portHoverColor;
    public java.awt.Color portConnectingColor;
    
    public int arrowHeadLength;
    public int arrowHeadWidth;
    
    public int diamondLength;
    public int diamondWidth;
    
    public java.awt.Color inserterColor;
    public int inserterThickness;
    
    public String fontName;
    public int fontStyle;
    public int fontSize;
    
    public DiagramStyle() {
        diagramBackground = java.awt.Color.WHITE;
        diagramEditorVeil = new java.awt.Color(0, 0, 0, 128);
        
        dropColor = java.awt.Color.RED;
        
        shapeBackgroundColor = new java.awt.Color(0, 0, 0, 0);
        shapeBorderColor = new java.awt.Color(0, 0, 0, 0);
        shapeBorderThickness = 0;
        
        connectorColor = java.awt.Color.BLACK;
        connectorThickness = 1;
        
        selectablePadSize = 5;
        selectableHoverColor = new java.awt.Color(200, 200, 255, 150);
        selectableSelectedColor = new java.awt.Color(255, 200, 200, 150);
        
        editableHoverColor = new java.awt.Color(200, 255, 200, 150);
        editableEditionColor = java.awt.Color.WHITE;
        editableErrorColor = new java.awt.Color(255, 200, 200);
        
        portSize = 6;
        portColor = new java.awt.Color(200, 200, 200, 255);
        portHoverColor = new java.awt.Color(255, 0, 0, 255);
        portConnectingColor = new java.awt.Color(50, 255, 50, 255);
        
        arrowHeadLength = 10;
        arrowHeadWidth = 7;
        
        diamondLength = 20;
        diamondWidth = 10;
        
        inserterColor = new java.awt.Color(0, 0, 0, 128);
        inserterThickness = 3;
        
        fontName = "Segoe UI";
        fontStyle = 0;
        fontSize = 12;
    }
}
